# name : SQL get count of unique combination of variables/columns
# key : sql.unique.combin
# contributor: Shuguang Sun
# --
proc sql;
  create table ${1:dtout} as
    select distinct ${3:subjid}${4:, visit}
    from ${2:dtin};
  quit;
run;